<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <table border="0" cellpadding="3">
     <tr>
         <td bgcolor="aqua" align="center">距离</td>
         <td bgcolor="aqua" align="center">费用</td>
     </tr>
    <?php
        $distance = 50;
        while($distance<=250){
            echo "<tr>
                    <td align=\"right\">".$distance."</td>
                    <td align=\"right\">".($distance/10)."</td>
                  </tr>\n";
            $distance+=50;
        }
    ?>
    </table>
</body>
</html>